from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
# Create your views here.

def hello(request):
    return HttpResponse('hello world')

def hi(request):
    return HttpResponse('hi, django')

def bye(request):
    template = loader.get_template('blog/bye.html')
    context = {}
    return HttpResponse(template.render(context, request))

def morning(request):
    return render(request, 'morning.html', {})